package com.shangdiao.sd_server.dao.mybatis;

import com.shangdiao.sd_server.generator.pojo.SdPersonBase;
import com.shangdiao.sd_server.generator.pojo.SdPersonBaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SdPersonBaseMapper {
    int countByExample(SdPersonBaseExample example);

    int deleteByExample(SdPersonBaseExample example);

    int deleteByPrimaryKey(Integer personId);

    int insert(SdPersonBase record);

    int insertSelective(SdPersonBase record);

    List<SdPersonBase> selectByExample(SdPersonBaseExample example);

    SdPersonBase selectByPrimaryKey(Integer personId);

    int updateByExampleSelective(@Param("record") SdPersonBase record, @Param("example") SdPersonBaseExample example);

    int updateByExample(@Param("record") SdPersonBase record, @Param("example") SdPersonBaseExample example);

    int updateByPrimaryKeySelective(SdPersonBase record);

    int updateByPrimaryKey(SdPersonBase record);
}